package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 车辆通行日志
 * </p>
 *
 * @author lc
 * @since 2018-08-24
 */
@TableName("car_action_log")
public class ActionLog extends Model<ActionLog> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;
    /**
     * 车牌号
     */
    @TableField("car_number")
    private String carNumber;
    /**
     * 通行时间
     */
    @TableField("io_time")
    private String ioTime;
    /**
     * 通道号
     */
    @TableField("channel_id")
    private String channelId;
    /**
     * 方向
     */
    private String direction;
    /**
     * 日志类型
     */
    @TableField("log_type")
    private String logType;
    /**
     * 备注
     */
    private String remark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getIoTime() {
        return ioTime;
    }

    public void setIoTime(String ioTime) {
        this.ioTime = ioTime;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getLogType() {
        return logType;
    }

    public void setLogType(String logType) {
        this.logType = logType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ActionLog{" +
        "id=" + id +
        ", carNumber=" + carNumber +
        ", ioTime=" + ioTime +
        ", channelId=" + channelId +
        ", direction=" + direction +
        ", logType=" + logType +
        ", remark=" + remark +
        "}";
    }
}
